From bd0b85c32a17aa890c607d9192f46af1b2b5f0f9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 May 1993 03:16:57 +0000 Subject: [PATCH] (x_figure_window_size): Make the default frame coords (0,0). --- src/xfns.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 93707bca6a9..1d08900079a 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1357,8 +1357,10 @@ x_figure_window_size (f, parms) window manager prompting. */ f->width = DEFAULT_COLS; f->height = DEFAULT_ROWS; - f->display.x->top_pos = 1; - f->display.x->left_pos = 1; + /* Window managers expect that if program-specified + positions are not (0,0), they're intentional, not defaults. */ + f->display.x->top_pos = 0; + f->display.x->left_pos = 0; tem0 = x_get_arg (parms, Qheight, 0, 0, number); tem1 = x_get_arg (parms, Qwidth, 0, 0, number); -- 2.30.2